package com.manager.commons.basemanage.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.manager.IBaseBean;

/**
 * BaseDataList entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "baseDataList")
public class BaseDataList implements IBaseBean  {

	@Id
	@GeneratedValue(generator="customGenerator")
	@GenericGenerator(name="customGenerator", strategy="com.manager.commons.CustomGenerator")
	@Column(name = "id")
	private Long id;
	
	@Column(name = "T_ID")
	private Long TId;
	
	@Column(name = "ListName", length = 40)
	private String listName;
	
	@Column(name = "ListCode", length = 50)
	private String listCode;

	// Constructors

	/** default constructor */
	public BaseDataList() {
	}

	/** full constructor */
	public BaseDataList(Long TId, String listName, String listCode) {
		this.TId = TId;
		this.listName = listName;
		this.listCode = listCode;
	}


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	
	public Long getTId() {
		return this.TId;
	}

	public void setTId(Long TId) {
		this.TId = TId;
	}

	
	public String getListName() {
		return this.listName;
	}

	public void setListName(String listName) {
		this.listName = listName;
	}

	
	public String getListCode() {
		return this.listCode;
	}

	public void setListCode(String listCode) {
		this.listCode = listCode;
	}

}